/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-12-20 10:37:32
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import regex from '../../../../utils/regex.js' // 正则表达式
// import {
//     statusType
// } from '@/utils/config'; //配置项

export default {
    searchObj: [ 
        {
            xm: true, //是input
            label: "项目名称：", //字段
            prop: "fprojectid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
        },
        {
            bd: true, //是input
            label: "标段名称：", //字段
            prop: "fCompanyid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
    
        }, {
            input: true, //是input
            label: "设备名称或编号", //字段
            prop: "keyWord", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "设备名称或编号",

        },
        {
            btn: true, //是input
            width: 6, //参考el-col


        },
    ],
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        isOperation: true,
        thead: [{
            
            label: "项目名称",
            prop: "fProjectname",
            minWidth: "200px",
            align: "left",
        },{
            
            label: "标段简称",
            prop: "fCompanyname",
            minWidth: "150px",
            align: "left",
        },{
            
                label: "设备编号",
                prop: "fDeviceencode",
                minWidth: "150px",
                align: "center",
            },
            {
                label: "设备名称",
                prop: "fAd",
                minWidth: "150px",
                align: "center",
                Jump: true,
            },
            {
                label: "温度(℃)",
                prop: "fTemperature",
                minWidth: "80px",
                align: "center",
                
            },
            {
                label: '相对湿度(%)',
                prop: 'fHumidity',
                minWidth: '80px',
                align: "center",
            },
            {
                label: "在线状态",
                prop: "isline",
                minWidth: "80px",
                align: "center",
            },
           
        ],

        isCheckBox: false,
        isIndex: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },

    btnObj: [{
            fEncode: "yj_view",
            fFullname: "查看",
            fOrder: 7
        },
        {
            fEncode: "yj_export",
            fFullname: "导出",
            fOrder: 1
        }, 

    ]
}